<?php
if(!defined('VERSION')) die('Hi.');
?><!DOCTYPE html> 
<html>
	<head>
		<meta name="viewport" content="user-scalable=no, width=device-width" />
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
		<title>kwestion. Another twitter client.</title>
		<link rel="icon" href="kwestion.png" type="image/png" />
		<link rel="shortcut icon" href="kwestion.png" type="image/png" />
		<style type="text/css">
			@import url(kwestion.css?<?php echo VERSION; ?>);
		</style>
		<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.6.2.min.js" type="text/javascript"></script> 
		<script src="jquery.tmpl.min.js" type="text/javascript"></script> 
		<script src="a.js?<?php echo VERSION; ?>" type="text/javascript"></script>
	</head> 
	<body>
		<div id='wait' style='display:none'><img src='loader.gif' style='margin:10 0;' /></div>
		<div id='dialog'></div>
		<div id='dialogbackground' style='position:absolute;display:none;border:none;background:#000;z-index:8000;width:100%;height:100%;top:0;left:0;filter:alpha(opacity=60);-moz-opacity:0.6;opacity:0.6;'></div>
		<div id="msgbox" class="s_clear" style="display:none;">
			<div id="msgboxhead">kwestion</div>
			<div id="msgboxbody" class="s_clear"></div>
		</div>

		<div id='people_op'> 
			<a href='#' onclick='opentab("user",$(this).attr("people")); return false;' people=''>Home</a><br />
			<a href='#' onclick='in_reply_to=false; $("#message").val("@"+$(this).attr("people")+" ").focus(); return false;' people=''>Message</a><br />
			<a href='#' onclick='in_reply_to=false; $("#message").val("d "+($(this).attr("people"))+" ").focus(); return false;' people=''>DM</a><br />
			<a href='#' onclick='insertsomething(" @"+$(this).attr("people")+" "); return false;' people=''>to Textbox</a> 
		</div>

		<div id='peopleat_op'> 
			<a href='#' onclick='opentab("user",$(this).attr("people")); return false;' people=''>Home</a> | 
			<a href='#' onclick='in_reply_to=false; $("#message").val("@"+$(this).attr("people")+" ").focus(); return false;' people=''>Message</a> | 
			<a href='#' onclick='in_reply_to=false; $("#message").val("d "+$(this).attr("people")+" ").focus(); return false;' people=''>DM</a> | 
			<a href='#' onclick='insertsomething(" @"+$(this).attr("people")+" "); return false;' people=''>to Textbox</a>
		</div>

		<div id='hash_op'> 
			<a href='#' onclick='opentab("hash",$(this).attr("hash")); return false;' people=''>Open Hashtag</a> | 
			<a href='#' onclick='insertsomething(" "+$(this).attr("hash")+" "); return false;' people=''>to Textbox</a>
		</div>

		<div id='kwestionheader' class='s_clear'>
			<div id='myinfo' class='s_clear'>
				<em>Click <a href="index.php" onclick="setCookie('state_k5','',-100);logout();">HERE</a> to clean cookies if you cannot load page contents(Be careful !!!).</em>
			</div>
			<div id='postform' class='s_clear'>
				<textarea id="message" style='width:50%; border:1px solid #989070;display:block;float:left;'></textarea>
				<div class="s_clear" style="display:block; float:left; width:48%; padding: 0 0 0 2px;">
					(<span id='wordcount'>140</span>) 
					<a id="sendmessage" title="Press Ctrl+Enter to Send" href='#' onclick='return false;'>Send</a> or 
					<a id='dosearch' href='#' onclick="return false;">Search</a>
				</div>
			</div>
		</div>
		<div id="timeline" class="s_clear"></div> 
		<div id='footer' style='text-align:center;'> 
			<select id='setcolumnnumber'>
				<option>1</option>
				<option selected>2</option>
				<option>3</option>
				<option>4</option>
				<option>5</option>
			</select>
			Copyright by @whentp . kwestion is released under LGPL license. <a href="http://code.google.com/p/kwestion/issues/list" target="_blank">Bug Report</a> | <a href="index.php" onclick="if(confirm('Are you sure?')){setCookie('state_k5','',-100);logout();}">Clean Cookies</a><br /> 
		</div>
		<?php include "_components.html"; ?>
	</body> 
</html>
